#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<math.h>
int main()
{
    int m = 0;
    scanf("%d", &m);
    int n = pow(m, 3);
    int a1 = m * m - m + 1;
    printf("%d", a1);
    for (int i = 0; i < m - 1; i++)
    {
        a1 += 2;
        printf("+%d", a1);
    }
    printf("\n");
    return 0;
}
